package com.jy.api.service;

import com.jy.api.domain.Withdraw;
import com.jy.api.signUpReq.MarsCallReq.UpdateStoreAccountReq;
import com.jy.api.signUpReq.MarsCallReq.WithdrawReq;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaohua on 2018/11/22.
 */
public interface WithdrawService {



    Page<Withdraw> findByStoreId(String storeId, Pageable pageable);

    Map<String,Object> accountingByStoreId(WithdrawReq req) throws  Exception;

    Map<String,Object> updateStoreWithdraw(UpdateStoreAccountReq req);

    Page<Withdraw>  getAllWithDraw(Pageable pageable);

}
